package com.luoqiz.designPatterns.factory.factory;

public class DatabaseLoggerFactory implements LoggerFactory{

	@Override
	public Logger createLogger() {
		return new DatabaseLogger();
	}

	@Override
	public Logger createLogger(String path) {
		System.out.println("根據传过来的 参数初始化链接数据库、数据库路径：" + path);
		return  new DatabaseLogger();
	}

}
